package com.yh.rbac.dao;

import com.yh.rbac.entity.Permission;
import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();
    List<Permission> selectByCondition(String condition);

    int updateByPrimaryKey(Permission record);
}